package han.yang.service.exception;

/**
 * @author yanghan
 * @date 2023/2/18
 */
public class LimitSizeException extends RuntimeException{
    /**
     * 响应码
     */
    private final int code = 999;

    /**
     * 错误原因
     */
    private final String error = "超出单次操作数量限制";

    public int getCode() {
        return code;
    }

    public String getError() {
        return error;
    }
}
